package com.example.zuoye41.contoller;

import com.example.zuoye41.feign.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @Autowired
    FeignService feignService;

    @GetMapping("/feign")
    public String get(){
        return feignService.get();
    }
}
